import React from 'react';
import {
  Text
} from 'react-native';

import WebViewPage from '../common/WebViewPage';
import SizeUtils from '../../common/SizeUtils';

export default class ActivitMuduPage extends WebViewPage {
  constructor(props) {
    super(props);

    this._alwaysShowClose = true;
  }

  _renderNavigationBarLeftButtonContent() {
    return (
      <Text style={{width:SizeUtils.translateDesignWidthToCode(100),
        textAlign:'left', fontSize:SizeUtils.translateFontSizeToCode(30),
        backgroundColor:"#00000000", borderWidth:0,
        color:this._fontColor, fontFamily:'STHeitiSC-Medium',}}> {this.props.pageData.leftButtonTitle} </Text>
    )
  }

  _onPressNavigationBarLeftBtn() {
    this.goBack();
  }
}
